package com.yeyks.common.appcommon.param.hotel;

import com.yeyks.common.appcommon.param.CommonPageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: gui
 * @date: 2019/5/27 0027 11:15
 */
@ApiModel(description = "根据账户Id查询酒店输入参数")
@Data
public class QueryHotelByAccountIdParam extends CommonPageParam implements Serializable{
    private static final long serialVersionUID = -1225480965444526425L;

    @ApiModelProperty("有效token")
    @NotBlank(message = "有效token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty("账户Id")
    @NotNull(message = "账户Id不能为空")
    private Integer accountId;

    @ApiModelProperty(value = "酒店类型 :1 集团  2连锁 3单体",allowableValues = "1,2,3")
    private Integer hotelType;

    @ApiModelProperty(value = "星级:  2民宿，3三星级，4四星级，5五星级，6商务",allowableValues = "2,3,4,5,6")
    private Integer starLevel;

    @ApiModelProperty("关键字")
    private String keywords;

    @ApiModelProperty(value = "状态, 1待提交，2待审核，3通过，4驳回",allowableValues = "1,2,3,4")
    private Integer status;

    @ApiModelProperty("地址的code值")
    private String divCode;

}
